import { router } from './router'
import { App } from 'vue'
import NProgress from 'nprogress'

// eslint-disable-next-line no-unused-vars
export default (app: App) => {
  router.beforeEach(() => {
    NProgress.start()
  })
  router.afterEach(() => {
    NProgress.done()
  })
}
